{include file="file:$theme_global/admin/_header.tpl"
current="config"
}
<div class="box">
<h1>Edit <span class="white">Configuration</span></h1>
				{include file="file:$theme_global/_messages.tpl"}
				{if count($config) gt 0}
				<form method="post" action="/config" enctype="multipart/form-data">
					<p>
					{foreach from=$config item=setting}
					
					<label for="{$setting.ckey}">{$setting.ckey|replace:'_':' '|capitalize}</label>
					
					<input type="text" id="{$setting.ckey}" name="{$setting.ckey}" value="{$setting.value}" />
					
					{/foreach}										
					</p>			
					<p><input type="submit" class="button" value="Save"/></p>					
					
				</form>
				{/if}
			
</div>
{include file="file:$theme_global/admin/_footer.tpl"}